package com.ruoyi.degree.service.Impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.degree.mapper.BizCommentsLikeMapper;
import com.ruoyi.degree.domain.BizCommentsLike;
import com.ruoyi.degree.service.IBizCommentsLikeService;

/**
 * 用户评论点赞Service业务层处理
 * 
 * @author Polly
 * @date 2025-08-23
 */
@Service
public class BizCommentsLikeServiceImpl implements IBizCommentsLikeService 
{
    @Autowired
    private BizCommentsLikeMapper bizCommentsLikeMapper;

    /**
     * 查询用户评论点赞
     * 
     * @param id 用户评论点赞主键
     * @return 用户评论点赞
     */
    @Override
    public BizCommentsLike selectBizCommentsLikeById(Long id)
    {
        return bizCommentsLikeMapper.selectBizCommentsLikeById(id);
    }

    /**
     * 查询用户评论点赞列表
     * 
     * @param bizCommentsLike 用户评论点赞
     * @return 用户评论点赞
     */
    @Override
    public List<BizCommentsLike> selectBizCommentsLikeList(BizCommentsLike bizCommentsLike)
    {
        return bizCommentsLikeMapper.selectBizCommentsLikeList(bizCommentsLike);
    }

    /**
     * 新增用户评论点赞
     * 
     * @param bizCommentsLike 用户评论点赞
     * @return 结果
     */
    @Override
    public int insertBizCommentsLike(BizCommentsLike bizCommentsLike)
    {
        return bizCommentsLikeMapper.insertBizCommentsLike(bizCommentsLike);
    }

    /**
     * 修改用户评论点赞
     * 
     * @param bizCommentsLike 用户评论点赞
     * @return 结果
     */
    @Override
    public int updateBizCommentsLike(BizCommentsLike bizCommentsLike)
    {
        return bizCommentsLikeMapper.updateBizCommentsLike(bizCommentsLike);
    }

    /**
     * 批量删除用户评论点赞
     * 
     * @param ids 需要删除的用户评论点赞主键
     * @return 结果
     */
    @Override
    public int deleteBizCommentsLikeByIds(Long[] ids)
    {
        return bizCommentsLikeMapper.deleteBizCommentsLikeByIds(ids);
    }

    /**
     * 删除用户评论点赞信息
     * 
     * @param id 用户评论点赞主键
     * @return 结果
     */
    @Override
    public int deleteBizCommentsLikeById(Long id)
    {
        return bizCommentsLikeMapper.deleteBizCommentsLikeById(id);
    }
}
